package com.fortune.rainshine.feign.service;

import com.fortune.rainshine.config.FeignConfig;
import com.fortune.rainshinecommon.model.service.VideoTeachingModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "rain-shine-service",configuration = FeignConfig.class)
@Controller
public interface VideoFeign {
    @PostMapping("/video/list")
    List<VideoTeachingModel> list();
}
